package com.basic.util;


import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 返回的对象(统一返回)
 *
 * @author SmallStrong
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Result implements Serializable {
    private static final long serialVersionUID = 3337439376898084639L;

    /**
     * 处理状态 0成功，-1 失败
     */
    private Integer code;

    /**
     * 处理信息
     */
    private String msg;

}
